package com.ali.item.common;

/**
 * @Description 减库存入参
 * @Author Alistair.Chow
 * @date 2019/1/30 12:18
 */
public class DecreaseStockInput {
    /** 商品ID **/
    private Integer itemId;
    /** 库存ID **/
    private Integer skuId;
    /** 购买数量 **/
    private Integer quantity;

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public DecreaseStockInput() {
    }

    public DecreaseStockInput(Integer itemId, Integer skuId, Integer quantity) {
        this.itemId = itemId;
        this.skuId = skuId;
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "DecreaseStockInput{" +
                "itemId=" + itemId +
                ", skuId=" + skuId +
                ", quantity=" + quantity +
                '}';
    }
}
